package cn.sccl.dirms.topo.discovery.service;

import cn.sccl.common.service.BaseManager;
import cn.sccl.dirms.topo.discovery.model.DiscoverReTaskRule;
import cn.sccl.dirms.topo.discovery.model.DiscoverRule;
import cn.sccl.dirms.topo.discovery.model.DiscoverRuleExtends;

import java.util.List;

/**
* 自动发现规则 的Manager
* Created by _minus on 2017-09-22.
*/
public interface DiscoverRuleManager extends BaseManager<DiscoverRule>{

    /**
     * 根据task 查询 相关规则
     * @param id
     * @return
     */
    List<DiscoverRuleExtends> queryDiscoverRuleExtendsByTaskId(String id);

    List<DiscoverRule> queryAvailableDiscoverRuleByTaskId(String id);

    DiscoverRuleExtends findDiscoverRuleExtendsByRelationTaskRule(DiscoverReTaskRule discoverReTaskRule);
}